<template>
    <!-- vue2模板 -->
      <div>
          <h3>dasdasdas</h3>
          <!-- 匿名插槽 -->
          <slot></slot>
          <!-- 具名插槽 -->
          <slot name="n1"></slot>
          <slot :arr="arr"></slot>
      </div>
  </template>
  
  <script>
  export default {
      name: 'Test',
      components:{},
      data() {
          return {
            arr:[1,2,3,4,5,6]
          };
      },
      props:{
  
      },
      mounted() {
  
      },
  
      methods: {
  
      },
  };
  </script>
  
  <style scoped>
  
  </style>
  